
module "prod-traefik-ingress-lb" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "prod-traefik-ingress-lb"
  type  = "A"
  ttl   = 3600
  value = "10.3.9.100"
}

module "prod-traefik-ingress-large-lb" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "prod-traefik-ingress-large-lb"
  type  = "A"
  ttl   = 3600
  value = "10.3.9.101"
}

module "cnames-to-prod-traefik-ingress-lb" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type  = "CNAME"
  value = "prod-traefik-ingress-lb.deeproute.cn"

  rrs = [
    "drplatform-grafana",
    "prod-data-kafka-ui",
    "prod-data-keelsh",
    "prod-data-kube-dashboard",
    "prod-data-nacos",
    "prod-data-skywalking",
    "proddata-alertmanager",
    "proddata-pgadmin",
    "proddata-prometheus",
    "proddata-victoria-metrics",
  ]
}

module "cnames-to-prod-traefik-ingress-large-lb" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type  = "CNAME"
  value = "prod-traefik-ingress-large-lb.deeproute.cn"
  ttl   = 3600

  rrs = [
    "prod-dataocean-api-gateway",
  ]
}

# prod-dataocean-api-gateway.deeproute.cn 3600 CNAME  prod-traefik-ingress-large-lb.deeproute.cn.
